package com.hpe.wx.performance.mongo.jmxObj.dao;

import java.util.List;

import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import com.hpe.wx.performance.mongo.jmxObj.domain.JmxObj;

@Repository
public interface JmxObjDao extends 
	MongoRepository<JmxObj, String>, 
	JmxObjDaoEx { // 这个接口中可以写一些StudentDao不能满足要求的方法。我这里纯粹测试好玩
	public List<JmxObj> findByUrl(String url);
	
	public List<JmxObj> findByName(String name);
	
	public List<JmxObj> findByCreateTimeBetween(Long dateStart, Long dateEnd);
	
	public List<JmxObj> findByStatus(Integer status);
	
	//public JmxObj findByCreateTimeGreaterThan (Long dateStart);
}
